package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.GraphicWalletDAO;
import top.zywork.dos.GraphicWalletDO;
import top.zywork.dto.GraphicWalletDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.GraphicWalletService;

import javax.annotation.PostConstruct;

/**
 * GraphicWalletServiceImpl服务接口实现类<br/>
 *
 * 创建于2020-11-30<br/>
 *
 * @author http://ljyanimo.com 刘金泳
 * @version 1.0
 */
@Service(value = "graphicWalletService")
public class GraphicWalletServiceImpl extends AbstractBaseService implements GraphicWalletService {

    private GraphicWalletDAO graphicWalletDAO;

    @Autowired
    public void setGraphicWalletDAO(GraphicWalletDAO graphicWalletDAO) {
        super.setBaseDAO(graphicWalletDAO);
        this.graphicWalletDAO = graphicWalletDAO;
    }

    @PostConstruct
    public void init() {
        super.init(GraphicWalletDO.class, GraphicWalletDTO.class);
    }
}